package com.team.arms.common;

import lombok.Getter;

/**
 * @author ywz
 * @since 2021-11-23
 */
@Getter
public enum RoleEnum {

    ADMIN(1L,"admin"),
    USER(2L,"user");

    //id
    private Long id;
    //角色
    private String name;

    RoleEnum(Long id, String name) {
        this.id = id;
        this.name = name;
    }

}
